import Vue from 'vue'
import App from './App.vue'
import Vant from 'vant';
import 'vant/lib/index.css';
import { router } from './router';
import store from './store';
import Axios from "./utils/axiosPlugin"
import BaiduMap from 'vue-baidu-map';
import './assets/css/all.css';
import moment from 'moment'

//原型挂载
Vue.prototype.$axios = Axios;
moment.defaultFormat = "YYYY-MM-DD";
Vue.prototype.$moment = moment;

Vue.config.productionTip = false

Vue.use(Vant);

Vue.use(BaiduMap, {
// ak 是在百度地图开发者平台申请的密钥 详见 http://lbsyun.baidu.com/apiconsole/key */
ak: 'Ru9A27vdhk7cHEvvS97bz4CNLUpBjYKv'
})

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
